--'****************************************************** --'* Биндер объекта группировки. --'****************************************************** function bind(obj) obj:bind_object(faction_binder(obj)) end class "faction_binder" (object_binder) function faction_binder:__init(obj) super(obj) end function faction_binder:net_spawn(se_abstract) if not object_binder.net_spawn(self, se_abstract) then return false end --' получить ссылку на настоящий серверный объект self.faction = alife_object(self.object:id()) return true end function faction_binder:update(delta) object_binder.update(self, delta) self.faction:update() end